#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <linux/input.h>

#include <errno.h>
#include <poll.h>
#include <sys/select.h>

#include "ubuntu_util.h"
#include "mouse_input.h"

#define MOUSEIN_INFO(...) fprintf(stdout, "\033[32m[MOUSEIN_INFO] %s(%d): \033[0m", __FUNCTION__, __LINE__),fprintf(stdout, __VA_ARGS__)
#define MOUSEIN_ERR(...) fprintf(stderr, "\033[31m[MOUSEIN_ERR] %s(%d): \033[0m", __FUNCTION__, __LINE__),fprintf(stderr, __VA_ARGS__)
